/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.game;

/**
 * created on 26.02.2008
 * 
 * Some String Constants for the game...
 * 
 * @author Mischa Frank, <a href="mailto:code@planetfrank.net">code@planetfrank.net</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.6 $ $Date: 2008-03-04 17:06:26 $
 */
public class GAME_CONSTANTS {

	/** indicates that the User is the creator of a game */ 
	public static final String PLAYER_CREATOR = "creator";
	
	/** indicates that the User is the opponent in a game */ 
	public static final String PLAYER_OPPONENT = "opponent";
	
	/** the time the player have for the GroupMeGame in seconds*/ 
	public static final String GAME_TIME_LIMIT = "180"; 
	
	//Highscore stuff:
	/** the time the player have for the GroupMeGame in seconds*/ 
	public static final int HIGHSCORE_TOP_K = 10; 

	/**
	 * Returns the standard description of a group.
	 * @param topic the topic of a group
	 * @param username the name of the user
	 * @return the standard description of a gaming group.
	 */
	public static String getStandardGameGroupDescription(String topic, String username){
		return "Group about " + topic + " (created during a GroupMe! game by " + username + ").";
	}
	
	/**
	 * Returns the standard name of a group.
	 * @param topic the topic of a group
	 * @param username the name of the user
	 * @return the standard name of a gaming group.
	 */
	public static String getStandardGameGroupName(String topic, String username){
		return topic + " group (" + username + ")";
	}
	
}
